package com.example.talkheart.utils

import android.widget.Toast
import com.example.talkheart.MyApplication


fun String.showToast(duration:Int = Toast.LENGTH_SHORT){
    Toast.makeText(MyApplication.context,this,duration).show()
}
fun Int.showToast(duration:Int = Toast.LENGTH_SHORT){
    Toast.makeText(MyApplication.context,this,duration).show()
}
